package com.wing.cabinet.model.request;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.time.LocalDateTime;
import com.wing.cabinet.model.entity.CheckedResult;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 盘验结果表Form
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class CheckedResultForm {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 柜子id
     */
    private Long cabId;

    /**
     * 库位id
     */
    private Long spaceId;

    /**
     * sku id
     */
    private Long skuId;

    /**
     * 状态
     */
    private CheckedResult.Status status;

    /**
     * 货物状态
     */
    private CheckedResult.BusinessType businessType;

    /**
     * 盘验数量
     */
    private Integer quantity;

    /**
     * sku code
     */
    private String skuCode;

    /**
     * 柜子编号
     */
    private String cabCode;

    /**
     * 库位编号
     */
    private String spaceCode;

    /**
     * 车间id
     */
    private Long workshopId;

    /**
     * 车间名称
     */
    private String workshopName;

    /**
    * 通知时间
    */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime notifyTime;

    /**
     * 通知用户
     */
    private Long notifyUserId;

    /**
     * no
     */
    private Integer no;

    /**
     * day
     */
    private Integer day;


    public interface Add{}

    public interface Update{}

    private String code;

    private String notifyUserName;

    /**
     * 供应商id
     */
    private Long supplierId;

    /**
     * 供应商名称
     */
    private String supplierName;

    private CheckedResult.BusinessTypePre businessTypePre;

    private Boolean isGenOrder;

    /**
     * 是否相符
     */
    private Boolean isCorrect;

    private Boolean isStorage;

    private Long checkId;

    private Boolean businessTypeCorrect;

    private Boolean skuCorrect;

    /**
     * 企业编码
     */
    private String enterpriseCode;

    private String roleName;

    private String departmentName;

    private String inCreatorName;

    private String inCreatorImg;

}
